var back = document.querySelector("#back");
back.addEventListener("touchstart",function(){
	window.history.go(-1);
})

var ul = document.getElementById("ul");
var ulli = ul.getElementsByTagName("li");
var ol = document.getElementById("ol");
var olli = ol.getElementsByTagName("li");
for(var i=0;i<ulli.length;i++){
	ulli[i].index = i;
	ulli[i].onclick = function(){
		for(var i=0;i<ulli.length;i++){
			ulli[i].className = "";
			olli[i].style.opacity = "0";
		}
		this.className = "xian";
		olli[this.index].style.opacity = "1";
	}
	
}
if('addEventListener' in document) {
				document.addEventListener('DOMContentLoaded', function() {
					FastClick.attach(document.body);
				}, false);
			}
